package org.springframework.extend.persistence.repository.config;

import org.springframework.beans.factory.xml.NamespaceHandlerSupport;

public class PersistenceRepositoryNameSpaceHandler extends NamespaceHandlerSupport {

	/**
	 * add repository schema parser.
	 */
	public void init() {
		registerBeanDefinitionParser("repository", new SqlRepositoryBeanDefinitionParser());
		registerBeanDefinitionParser("template", new SqlTemplateBeanDefinitionParser());
		registerBeanDefinitionParser("repository-context", new RepositoryAspectParser());
	}

}
